package com.msun.service;

import com.msun.entity.PageResult;
import com.msun.entity.QueryPageBean;
import com.msun.pojo.Menu;

import java.util.List;

public interface MenuService {
    PageResult findMenuPage(QueryPageBean queryPageBean);
    List<Menu> childMenuById(Integer parentId);
    List<Menu> findMenuList2Show(String userName);
    void add(Menu menu);
    void edit(Menu menu);
    void delete(Integer userId);
}
